Imports System.Configuration.Provider

Public MustInherit Class VehicleProvider : Inherits ProviderBase
    Public MustOverride Function GetAllMakes() As System.Data.DataTable

    Public MustOverride Function GetModels(ByVal MakeId As String) As System.Data.DataTable

    Public MustOverride Function GetModels(ByVal MakeId As String, ByVal ModelCategoryId As String) As System.Data.DataTable

    Public MustOverride Function GetModelCategories() As System.Data.DataTable

    Public MustOverride Function CreateMake(ByVal MakeDescription As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function UpdateMake(ByVal MakeId As String, ByVal NewMakeDescription As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function DeleteMake(ByVal MakeId As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function CreateModel(ByVal MakeId As String, ByVal ModelDescription As String, ByVal ModelCategoryId As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function UpdateModel(ByVal ModelId As String, ByVal MakeId As String, ByVal ModelDescription As String, ByVal MOdelCategoryId As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function DeleteModel(ByVal ModelId As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function CreateModelCategory(ByVal CategoryShortDescription As String, ByVal CategoryLongDescription As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function UpdateModelCategory(ByVal ModelCategoryId As String, ByVal CategoryShortDescription As String, ByVal CategoryLongDescription As String, ByVal LoggedOnUsername As String) As Boolean

    Public MustOverride Function DeleteModelCategory(ByVal ModelCategoryId As String, ByVal LoggedOnUsername As String) As Boolean
End Class
